package com.qy.service;

import java.io.File;
import java.util.List;

import com.qy.model.PageModel;

public interface BaseService<T> {
	public void save(T t)throws Exception;
	public void execute(String hql,List<Object> list)throws Exception;
	public void delete(T t)throws Exception;
	public List<T> select(String hql,Object[] object)throws Exception;
	public List<T> selectAllByPage(String hql,Object obj[],PageModel page)throws Exception;
	public String saveFile(String fileFileName,File file)throws Exception;
}
